package com.bzm.service.bzm;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bzm.common.entity.JsonResult;
import com.bzm.common.utils.IpParser.IpInfo;
import com.bzm.pojo.bzm.BzmImUser;

/**
 * <p>
 * bzm聊天用户 服务类
 * </p>
 *
 * @author hemiao
 * @since 2022-07-12
 */
public interface BzmImUserService extends IService<BzmImUser> {
	
	JsonResult<String> addInfo(BzmImUser user);
	
	JsonResult<String> updateInfo(BzmImUser user);
	
	JsonResult<List<BzmImUser>> selectUserList(BzmImUser user);

	JsonResult<BzmImUser> login(String phone, String nickname, IpInfo info,String avatar);
	
	JsonResult<BzmImUser> loginOut(String userId);

}
